import type { RouteRecordRaw } from 'vue-router';

import { BasicLayout } from '#/layouts';

const routes: RouteRecordRaw[] = [
  {
    component: BasicLayout,
    meta: {
      icon: 'lucide:store',
      order: 3,
      title: '店铺',
    },
    name: 'Store',
    path: '/Store',
    redirect: '/Store',
    children: [
      {
        name: 'storeindex',
        path: '/storeindex',
        component: () => import('#/views/store/index.vue'),
        meta: {
          icon: 'lucide:map-pin-house',
          title: '店铺管理',
        },
      },
    ],
  },
];

export default routes;
